package total

type TotalMiner struct {
	MinerAddress             string   `bson:"MinerAddress,omitempty"`
	Height                   int64    `bson:"Height,omitempty"`
	Time                     int64    `bson:"Time,omitempty"`
	TimeString               string   `bson:"-"`
	QualityAdjPower          string   `bson:"QualityAdjPower,omitempty"`
	QualityAdjPowerFloat     float64  `bson:"-"`
	CommittedPower           string   `bson:"CommittedPower,omitempty"`
	CommittedPowerFloat      float64  `bson:"-"`
	TotalBalance             string   `bson:"TotalBalance,omitempty"`
	TotalBalanceFloat        float64  `bson:"-"`
	OwnerBalance             string   `bson:"OwnerBalance,omitempty"`
	OwnerBalanceFloat        float64  `bson:"-"`
	WorkerBalance            string   `bson:"WorkerBalance,omitempty"`
	WorkerBalanceFloat       float64  `bson:"-"`
	ControlBalance           []string `bson:"ControlBalance,omitempty"`
	ControlBalanceFloat      float64  `bson:"-"`
	RewardCount              int      `bson:"-"`
	RewardNums               string   `bson:"-"`
	RewardNumsFloat          float64  `bson:"-"`
	InitialPledgeRequirement string   `bson:"InitialPledgeRequirement,omitempty"`
	PreCommitDeposits        string   `bson:"PreCommitDeposits,omitempty"`
	VestingFunds             string   `bson:"VestingFunds,omitempty"`
	RoundWinner              int8     `bson:"RoundWinner,omitempty"`      // 是否有出块权
	ProvingDeadlines         int      `bson:"ProvingDeadlines,omitempty"` // 时空证明时间数量
	FaultySectors            int      `bson:"FaultySectors,omitempty"`    // 错误扇区
	PowerRatio               float64  `bson:"PowerRatio,omitempty"`       // 算力全网占比
}
